<?php
namespace app\center\validate;
use think\Validate;

/**
 * 抄送信息验证器
 * Created by PhpStorm.
 * User: tyll
 * Date: 2019/11/14
 * Time: 14:13
 */
class Copy extends Validate{

    protected $rule = [
        'explain' => 'require'
    ];

    protected $message = [
        'explain.require' => '批复必须填写'
    ];

    protected $scene = [
        'add'  => ['explain'],
        'edit' => ['explain']
    ];
}